import requests

if __name__ == '__main__':
    url = "http://127.0.0.1:8080"
    # 1.请求获取  根据商品分类ID  获取商品列表接口

    resp = requests.get(url+"/shop/mfindByCid",params={"cid":1})
    print(resp.text)